package com.unitd.base.frame.plugin.module.model;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * 实体对象最顶层的基类
 *
 * @author Hudan
 * @version 1.0
 * @filename BaseEntity.java
 * @copyright www.unitd.com
 * @date 2019-02-02
 */
@Data
@ToString
@EqualsAndHashCode
@Accessors(chain = true)
public class BaseEntity implements Serializable, Cloneable {

    @Override
    public Object clone
            () throws CloneNotSupportedException {
        return super.clone();
    }
}